package com.svse.services;

import com.baomidou.mybatisplus.extension.service.IService;
import com.svse.component.MybatisRedisCache;
import com.svse.entity.UserEntity;
import org.apache.ibatis.annotations.CacheNamespace;
import org.apache.ibatis.session.RowBounds;

import java.util.List;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author 李宇航
 * @since 2019-10-14
 */
@CacheNamespace(implementation = MybatisRedisCache.class, eviction = MybatisRedisCache.class)
public interface UserService extends IService<UserEntity> {

    /**
     * 分页查询
     * @param rowBounds
     * @return
     */
    List<UserEntity> pageList(RowBounds rowBounds);

}
